const env = process.env.NODE_ENV
let SQL_CONF
if (env === 'dev') {
    //开发环境
    SQL_CONF = {
        host: '127.0.0.1',
        user: 'root',
        password: '123456',
        port: '3306',
        database: 'cms'
    }
} else if (env === 'production'){
    //生产环境
    SQL_CONF = {
        host: '127.0.0.1',
        user: 'root',
        password: '123456',
        port: '3306',
        database: 'cms'
    }
}

module.exports={
    SQL_CONF
}